package com.tshopping.service;

import com.tshopping.bean.Level;
import com.tshopping.util.ResponseData;

import java.util.ArrayList;

public interface LevelService {
    ResponseData addLevel(String name, int parent);

    ResponseData updateLevel(String name, int parent, int id);

    ResponseData deleteLevel(int id);

    ResponseData selectLevels(int parent);

    ResponseData selectAllLevels();

    ResponseData selectLevel(int id);
}
